//Point.cpp
#ifndef POINT_H_
#define POINT_H_
#include <iostream>
using namespace std;
class Point {
private:
    double x;
    double y;
public:
    Point(int xx = 0, int yy = 0);
    Point(const Point& point);
    ~Point();
    void setX(int x);
    double getX();
    void setY(int y);
    double getY();
    void Set(int x, int y);
    void Print();
};


Point::Point(int xx, int yy) : x(xx), y(yy) {}

Point::Point(const Point& point) {
    Set(point.x, point.y);
}

Point::~Point() {}

void Point::setX(int x) {
    this->x = x;
}

double Point::getX() {
    return this->x;
}

void Point::setY(int y) {
    this->y = y;
}

double Point::getY() {
    return this->y;
}

void Point::Set(int x, int y) {
    this->x = x;
    this->y = y;
}

void Point::Print() {
    cout << "(" << this->x << "," << this->y << ")";
}
#endif